package com.cloudfun.campusshare.service;

import com.cloudfun.campusshare.common.model.dto.WeChatContractSignNotifyDTO;
import com.cloudfun.campusshare.common.model.dto.WeChatNotifyRespDTO;
import com.cloudfun.campusshare.entity.WeChatContractEntity;

/**
 * Created by Huqin on 2020/4/20
 */
public interface WeChatContractService {

    /**
     * 通知
     *
     * @param signNotifyDTO
     * @return
     */
    WeChatNotifyRespDTO notify(WeChatContractSignNotifyDTO signNotifyDTO);

    /**
     * 根据用户信息获取
     *
     * @param customerId
     * @return
     */
    WeChatContractEntity getByCustomerId(String customerId);

    /**
     * 删除（解约）
     *
     * @param openId
     */
    void delete(String openId);

}
